/**
 *  Created by zlgb on 2021-03-22 20:18:57
 *  ------------------修改记录-------------------
 *  修改人      修改日期                 修改目的
 *  zlgb        2021-03-22               创建
 * */
import {
    Button, Notify, Tabbar, TabbarItem, Icon, Tab, Tabs, ConfigProvider, Search, Form, Field, CellGroup, RadioGroup, Radio, Picker, Popup,Cell
} from 'vant';

const components = [
];

const plugins = [
    Notify,
    Popup,
    Picker,
    Form,
    Field,
    Button,
    Tabbar,
    TabbarItem,
    Icon,
    Tab,
    Tabs,
    ConfigProvider,
    Search,
    CellGroup,
    RadioGroup,
    Radio,
    Cell
];

export const registerEle = (app: any) => {
    // components.forEach(component => {
    //     app.component(component.name, component);
    // });

    plugins.forEach(plugin => {
        app.use(plugin);
    });
};
